package com.aznest.service;

import com.aznest.entity.Account;
import com.aznest.entity.Hotel;
import com.aznest.vo.HotelVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface HotelService {
    void add(Hotel hotel);

    void update(Hotel hotel);

    void deleteById(Integer id);

    Hotel selectById(Integer id);

    void deleteBatch(List<Integer> ids);

    List<HotelVO> selectByName(String name);

    List<HotelVO> selectAll(Hotel hotel);

    List<Hotel> selectAllOK();

    PageInfo<Hotel> selectPage(Hotel hotel, Integer pageNum, Integer pageSize);

    Account login(Account account);

    void register(Account account);

    void updatePassword(Account account);

    List<HotelVO> recommend();

    List<HotelVO> selectHot();
}
